package com.ybg.bookmanages.services;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ybg.bookcommons.dto.BorrowBookDTO;
import com.ybg.bookmanages.module.entity.Bookinfos;
import com.ybg.bookmanages.module.vo.BookinfosVO;
import org.springframework.web.multipart.MultipartFile;

public interface BookinfosServcie extends IService<Bookinfos> {

    public boolean addBook(BookinfosVO bvo, MultipartFile file);

    public boolean damageBook(String isbn,String damagereason);

    public boolean borrowBook(String isbn,String cardid);

    public BorrowBookDTO backBook(String isbn, String cardid);
}
